home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / bash / bash_108 / bash-108.zoo / bash-1.08 / flags.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-17  |  804 b   |  25 lines

  1. /* flags.h -- a list of all the flags that the shell knows about.  You add
  2.    a flag to this program by adding the name here, and in flags.c. */
  3.  
  4. /* Welcome to the world of Un*x, where everything is slightly
  5.    backwards. */
  6. #define FLAG_ON '-'
  7. #define FLAG_OFF '+'
  8.  
  9. #define FLAG_ERROR -1
  10.  
  11. /* The thing that we build the array of flags out of. */
  12. struct flags_alist {
  13.   char *name;
  14.   int *value;
  15. };
  16.  
  17. extern struct flags_alist shell_flags[];
  18.  
  19. extern int
  20.   mark_modified_vars, exit_immediately_on_error, disallow_filename_globbing,
  21.   locate_commands_in_functions, place_keywords_in_env, read_but_dont_execute,
  22.   just_one_command, unbound_vars_is_error, echo_input_at_read,
  23.   echo_command_at_execute, lexical_scoping, no_invisible_vars, noclobber,
  24.   hashing_disabled, history_expansion, forced_interactive;
  25.